clear all
use Ma_LF.dta

*******************************
** Table A3
*******************************

** crop value, no controls
reg crp1_v ///
crp1_mechc ///
mech_inv2 inv2 ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0


** crop value, controls
reg crp1_v ///
crp1_mechc ///
mech_inv2 inv2 ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0

** crop value, separate investment in cover facility
reg crp1_v ///
crp1_mechc ///
mech_inv inv cv_inv ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0

** labor productivity
reg crp1_lp ///
crp1_mechc ///
mech_inv2 inv2 ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0

** labor productivity, separate investment in cover facility 
reg crp1_lp ///
crp1_mechc ///
mech_inv inv cv_inv ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0


** land productivity
reg crp1_ldp ///
crp1_mechc ///
mech_inv2 inv2 ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0

** land productivity, separate investment in cover facility
reg crp1_ldp ///
crp1_mechc ///
mech_inv inv cv_inv ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0


** yield
reg crp1_yd ///
crp1_mechc ///
mech_inv2 inv2 ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0

** yield, separate investment in cover facility
reg crp1_yd ///
crp1_mechc ///
mech_inv inv cv_inv ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0

** profit margin
reg crp1_pmg ///
crp1_mechc ///
mech_inv2 inv2 ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0

** profit margin, separate investment in cover facility
reg crp1_pmg ///
crp1_mechc ///
mech_inv inv cv_inv ///
crp1_culs crp1_fd crp1_inpc ///
ld_pltsz grn ///
mng_vil mng_fpre mng_nfpre mng_male mng_age mng_edu ///
mech_v proc_v irrg_v ///
vil1-vil24 pss yr ///
if lf_on==1 & lf_id!=52 & crp1_culs>=10 & crp1_culs!=0 & crp1_sl!=0
